package com.skl.springloud.feign;

import com.skl.config.FeignClientConfig01;
import feign.Param;
import feign.RequestLine;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "PVIDER-USER1" ,configuration = FeignClientConfig01.class)
public interface FeignClientInter {

//    @RequestMapping(method = RequestMethod.GET,value = "/providerInfos")
//    String providerUserInfoTest();

    @RequestLine("POST /providerInfos/{id}")
    String providerUserInfo(@Param("id") String id);
}
